package com.hui.security.app.mapper;

import com.hui.security.app.entity.App;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AppMapper {
    int deleteByPrimaryKey(String appId);

    int insert(App record);

    int insertSelective(App record);

    App selectByPrimaryKey(String appId);

    int updateByPrimaryKeySelective(App record);

    int updateByPrimaryKey(App record);

    int batchInsert(@Param("recordList") List<App> recordList);

    int batchDelete(@Param("ids") String[] ids);

    int batchUpdate(@Param("recordList") List<App> recordList);

    List<App> selectByName(@Param("appName") String appName);

}